[USER (data scientist)]: Perfect! Now, let's go ahead and apply one-hot encoding to those variables. Can you help me with that? Please generate a DataFrame by encoding the nominal categorical columns of the dataset.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd 
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print("credit_customers_encoded:\n", credit_customers_encoded) 

# save data
pickle.dump(credit_customers_encoded,open("./pred_result/credit_customers_encoded.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure thing! Here's the code to apply one-hot encoding to the nominal categorical variables:
'''
import pandas as pd 
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
